import React from 'react';
import ReactDOM from 'react-dom'; 
import TodoList from './TodoList';   
import {Provider} from 'react-redux'
import store from './store';

const App =  (
    <Provider store={store}>
      <TodoList/>
    </Provider>
)
 

ReactDOM.render(App,document.getElementById('root')); 

// import App from './App';  
// ReactDOM.render(<App/>,document.getElementById('root')); 